home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 96
/
PC Zone #096.7z
/
Dppcz1200.mdf
/
Demos
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
Training_Level.gls
< prev
next >
Wrap
Text File
|
2000-09-09
|
8KB
|
394 lines
/************/
/* INCLUDES */
/************/
// n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
// default things to inherit our objects from
#include "defaults.gsh"
// good guys
#include "frend.gsh"
#include "hark.gsh"
#include "gunlok.gsh"
#include "elint.gsh"
// bad guys
#include "drone.gsh"
//#include "walking_mine.gsh"
//#include "scythor.gsh"
#include "sneeker.gsh"
//#include "adversor.gsh"
//#include "bombhead.gsh"
//#include "pulsax.gsh"
#include "pulsox.gsh"
//#include "obliteron.gsh"
#include "archore.gsh"
// neutral things
//#include "robodozer.gsh"
//#include "tumbleweed.gsh"
//#include "crate.gsh"
//#include "satellite_wall_frag.gsh"
//#include "superbox.gsh"
//#include "walln_multifrag.gsh"
#include "blobarrelfrag.gsh"
#include "technocrate.gsh"
//#include "compounds.gsh"
// fires
#include "carfire.gsh"
#include "oilfire.gsh"
#include "redlight.gsh"
/*********/
/* NOTES */
/*********/
/**********/
/* SHAPES */
/**********/
// world objects
shape Shp_TECHNOBOX_A
{
file "objects/technobox.rif"
name "TECHNOBOX"
}
shape Shp_TECHNOBOX_B
{
file "objects/technobox.rif"
name "TECHNOBOX"
}
shape Shp_TOWERLIFTA
{
file "levels\Training_Level.rif"
name "TOWERLIFTA"
}
shape Shp_liftswitcha
{
file "objects\LIFTSWITCH F.rif"
name "LIFTSWITCH F"
}
hierarchy Hcy_liftswitchaa
{
file "objects\LIFTSWITCH E.rif"
name "LIFTSWITCH E"
}
hierarchy Hcy_liftswitchab
{
file "objects\LIFTSWITCH E.rif"
name "LIFTSWITCH E"
}
shape Shp_Garbage_A
{
file "objects\GARBAGE A.rif"
name "garbage A"
}
shape Shp_Garbage_B
{
file "objects\GARBAGE B.rif"
name "garbage B"
}
shape Shp_Garbage_C
{
file "objects\GARBAGE C.rif"
name "garbage C"
}
shape Shp_Garbage_D
{
file "objects\GARBAGE D.rif"
name "garbage D"
}
shape Shp_Garbage_E
{
file "objects\GARBAGE E.rif"
name "garbage E"
}
shape Shp_Garbage_F
{
file "objects\GARBAGE F.rif"
name "garbage F"
}
shape Shp_Garbage_G
{
file "objects\GARBAGE G.rif"
name "garbage G"
}
shape Shp_Garbage_H
{
file "objects\GARBAGE H.rif"
name "garbage H"
}
shape Shp_Garbage_I
{
file "objects\GARBAGE I.rif"
name "garbage I"
}
/**********/
/* ROLES */
/**********/
// World objects.
role Rol_TECHNOBOX_A : Rol_PlacedObject
{
shape Shp_TECHNOBOX_A
destructibility Des_Explode
identifier "area4unshieldedtechnobox"
armour 100
ai blocker
}
role Rol_TECHNOBOX_B : Rol_PlacedObject
{
shape Shp_TECHNOBOX_B
// destructibility Des_Explode
// identifier "technobox_b"
ai blocker
}
role Rol_TOWERLIFTA : Rol_PlacedObject
{
shape Shp_TOWERLIFTA
destination selectable yes
ai track object
}
role Rol_liftswitcha : Rol_PlacedObject
{
shape Shp_liftswitcha
destination selectable yes
destroy after collection no
ai pickup
}
role Rol_liftswitchaa : Rol_PlacedObject
{
shape Hcy_liftswitchaa
destination selectable yes
destroy after collection no
ai pickup
}
role Rol_liftswitchab : Rol_liftswitchaa
{
}
role Rol_Garbage_A_HasItem : Rol_DefaultGarbage_NoMsg
{
shape Shp_Garbage_A
identifier "garbwithitem"
}
role Rol_Garbage_B_HasItem : Rol_Garbage_A_HasItem
{
shape Shp_Garbage_B
}
role Rol_Garbage_C_HasItem : Rol_Garbage_A_HasItem
{
shape Shp_Garbage_C
}
role Rol_Garbage_C : Rol_DefaultGarbage
{
shape Shp_Garbage_C
}
role Rol_Garbage_D : Rol_DefaultGarbage
{
shape Shp_Garbage_D
}
role Rol_Garbage_E : Rol_DefaultGarbage
{
shape Shp_Garbage_E
}
role Rol_Garbage_F : Rol_DefaultGarbage
{
shape Shp_Garbage_F
}
role Rol_Garbage_G : Rol_DefaultGarbage
{
shape Shp_Garbage_G
}
role Rol_Garbage_H : Rol_DefaultGarbage
{
shape Shp_Garbage_H
}
role Rol_Garbage_I : Rol_DefaultGarbage
{
shape Shp_Garbage_I
}
role Rol_Area2Barrel : Rol_trainingblobarrel
{
identifier "area2barrel"
armour 100
}
role Rol_Area3Barrel : Rol_trainingblobarrel
{
identifier "area3barrel"
armour 100
}
/***********/
/* THE MAP */
/***********/
map /* _THE_ map - doesnt need a label */
{
file "levels\Training_Level.rif"
name "Land"
bitmap "bitmaps\training_map.rim"
camera plane none
max camera distance 100 // TBD exactly
shadow object rif "levels\Training_Level_shadow.rif"
shadow object name "shadow_Land"
// PLAYERS TROOPS
use Rol_GunLok in team 1 for
"goodieA" as "Gunlok"
// AI'S TROOPS
// NEUTRAL OBJECTS
use Rol_TOWERLIFTA in team 0 for
"TOWERLIFTA" as "lift_a"
use Rol_liftswitcha in team 0 for
"liftswitcha" as "liftswitcha"
use Rol_liftswitchaa in team 0 for
"liftswitchaa" as "liftswitchaa"
use Rol_liftswitchab in team 0 for
"liftswitchab" as "liftswitchab"
use Rol_Area2Barrel in team 2 for
"blobarrela" as "area2barrel1" and
"blobarrelb" as "area2barrel2" and
"blobarrelc" as "area2barrel3" and
"blobarreld" as "area2barrel4"
use Rol_Area3Barrel in team 2 for
"blobarrele" as "area3barrel1" and
"blobarrelf" as "area3barrel2" and
"blobarrelg" as "area3barrel3" and
"blobarrelh" as "area3barrel4"
use Rol_trainingblobarrel in team 2 for
"blobarreli" and
"blobarrelj" and
"blobarrelk" and
"blobarrell" and
"blobarrelm" and
"blobarreln" and
"blobarrelo"
use Rol_Garbage_A_HasItem in team 0 for
"garbage AA" as "garbage_aa" and
"garbage AB" as "garbage_ab" and
"garbage AC" as "garbage_ac"
use Rol_Garbage_B_HasItem in team 0 for
"garbage BA" as "garbage_ba" and
"garbage BB" as "garbage_bb"
use Rol_Garbage_C_HasItem in team 0 for
"garbage CA" as "garbage_ca"
use Rol_Garbage_C in team 0 for
"garbage CB" as "garbage_cb"
use Rol_Garbage_D in team 0 for
"garbage DA" as "garbage_da"
use Rol_Garbage_D in team 0 for
"garbage DB" as "garbage_db"
use Rol_Garbage_E in team 0 for
"garbage EA" as "garbage_ea"
use Rol_Garbage_E in team 0 for
"garbage EB" as "garbage_eb"
use Rol_Garbage_F in team 0 for
"garbage FA" as "garbage_fa"
use Rol_Garbage_F in team 0 for
"garbage FB" as "garbage_fb"
use Rol_Garbage_G in team 0 for
"garbage GA" as "garbage_ga"
use Rol_Garbage_G in team 0 for
"garbage GB" as "garbage_gb"
use Rol_Garbage_H in team 0 for
"garbage HA" as "garbage_ha"
use Rol_Garbage_H in team 0 for
"garbage HB" as "garbage_hb"
use Rol_Garbage_I in team 0 for
"garbage IA" as "garbage_ia"
/*
use Rol_Compound_b in team 0 for
"COMPOUND B" as "compound_b"
use Rol_Compound_b in team 0 for
"COMPOUND BB" as "compound_bb"
use Rol_Compound_b in team 0 for
"COMPOUND BC" as "compound_bc"
use Rol_Compound_b in team 0 for
"COMPOUND BD" as "compound_bd"
use Rol_Compound_b in team 0 for
"COMPOUND BE" as "compound_be"
use Rol_Compound_c in team 0 for
"COMPOUND CA" and
"COMPOUND CB" and
"COMPOUND CC" and
"COMPOUND CD" and
"COMPOUND CE" and
"COMPOUND CF" and
"COMPOUND CG" and
"COMPOUND CH" and
"COMPOUND CI" and
"COMPOUND CJ" and
"COMPOUND CK" and
"COMPOUND CL" and
"COMPOUND CM" and
"COMPOUND CN" and
"COMPOUND CO" and
"COMPOUND CP" and
"COMPOUND CQ" and
"COMPOUND CR" and
"COMPOUND CS" and
"COMPOUND CT" and
"COMPOUND CU" and
"COMPOUND CV" and
"COMPOUND CW" and
"COMPOUND CX" and
"COMPOUND CY" and
"COMPOUND CZ" and
"COMPOUND CAA" and
"COMPOUND CAB" and
"COMPOUND CAC" and
"COMPOUND CAD" and
"COMPOUND CAE" and
"COMPOUND CAF" and
"COMPOUND CAG"
use Rol_Compound_d in team 0 for
"COMPOUND DA" and
"COMPOUND DB"
use Rol_Compound_e in team 0 for
"COMPOUND EA"
*/
use Rol_TECHNOBOX_A in team 2 for
"COMPGENA" as "compgena"
use Rol_TECHNOBOX_B in team 2 for
"COMPGENB" as "compgenb"
use Rol_TECHNOBOX_B in team 2 for
"COMPGENC" as "compgenc"
use Rol_technocrate in team 0 for
"Technocratea" and
"Technocrateb" and
"Technocratec" and
"Technocrated" and
"Technocratee" and
"Technocratef"
}